how to switch from manual to automation testing